-
A buffer is an in-memory text of a file.
-
A window is a viewport on a buffer.
-
A tab page is a collection of windows.
Editor
Zoom
-
ctrl -
-
zoom out
-
-
ctrl = or ctrl +
-
zoom in
-
-
ctrl 0
-
reset zoom
-
Buffer
Buffers
-
:buffers
-
lists open buffers
-
-
LeaderLeader
-
lists open buffers via Telescope
-
Quickfix
-
-
He used
<M-j>, curiously.
-
Window
Window Splits
-
ctrl w ctrl w
-
moves from one window to another
-
:q closes only the selected tab, be careful when using this
-
Tab
-
.
Session
Default
-
:mksession [path]-
Save a .vim file.
-
-
source [path] -
Closing nvim without saving the session will not automatically save it.
-
It's mentioned about maybe using the
BufWinLeaveevent to auto-save.
-
-
The session can be opened outside of nvim using
nvim -S [path].